package com.uzai.console.vo.alarm.alarmcontacter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("返回紧急联系人信息列表")
public class DingdingVo {
    @ApiModelProperty("主键ID")
    private Long id;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("手机号")
    private List<String> mobileList;
    @ApiModelProperty("邮箱")
    private List<String> mailList;
    @ApiModelProperty("悠哉公众号openid")
    private List<String>  openidList;
    @ApiModelProperty("钉钉机器人")
    private List<DingDing> dingdingList;
    @ApiModelProperty("钉钉是否@所有人（0-否；1-是）")
    private int notifyAll;

    public static class DingDing implements Serializable {
        private static final long serialVersionUID = 5419895803341828054L;
        private String webhook;
        private String secretkey;

        public static long getSerialVersionUID() {
            return serialVersionUID;
        }

        public String getWebhook() {
            return webhook;
        }

        public void setWebhook(String webhook) {
            this.webhook = webhook;
        }

        public String getSecretkey() {
            return secretkey;
        }

        public void setSecretkey(String secretkey) {
            this.secretkey = secretkey;
        }
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getMobileList() {
        return mobileList;
    }

    public void setMobileList(List<String> mobileList) {
        this.mobileList = mobileList;
    }

    public List<String> getMailList() {
        return mailList;
    }

    public void setMailList(List<String> mailList) {
        this.mailList = mailList;
    }

    public List<String> getOpenidList() {
        return openidList;
    }

    public void setOpenidList(List<String> openidList) {
        this.openidList = openidList;
    }

    public List<DingDing> getDingdingList() {
        return dingdingList;
    }

    public void setDingdingList(List<DingDing> dingdingList) {
        this.dingdingList = dingdingList;
    }

    public int getNotifyAll() {
        return notifyAll;
    }

    public void setNotifyAll(int notifyAll) {
        this.notifyAll = notifyAll;
    }
}
